<template>
    <div v-if="status">
        <van-skeleton title :row="3"  />
    </div>

    <div v-else>
        <van-tabs v-model:active="active">
            <van-tab title="标签 1">
                <swipe></swipe>
            </van-tab>
            <van-tab title="标签 2">内容 2</van-tab>
            <van-tab title="标签 3">内容 3</van-tab>
            <van-tab title="标签 4">内容 4</van-tab>
        </van-tabs>

    </div>
</template>

<script setup>
import swipe from '@/components/swipe.vue'
import {ref} from 'vue'
let status =ref(true)
setTimeout(()=>{
status.value=false
},2000)
</script>

<style lang="scss" scoped></style>